from gen import grid1,grid2,grid3
from alg import Solution
Solution=Solution()
test=Solution.cherryPickup(grid1)
print(test)
test=Solution.cherryPickup(grid2)
print(test)
test=Solution.cherryPickup(grid3)

print(test)